package org.wenhua.yuan.and.cmbc

import android.graphics.drawable.Drawable
import java.io.Serializable

data class CMBCData(
    val menuAreaList: List<CMBCDataMenuArea>, /** 4个功能入口热区 */
    val featureAreaList: List<CMBCDataFeatureArea>, /** 10个功能入口热区 */
    val middleBannerAreaList: List<CMBCDataMiddleBannerArea> /** 广告位热图 */
)






data class CMBCDataMenuArea (val btnInfo: String, val btnUrl: String, val btnIcon: Drawable ): Serializable

data class CMBCDataFeatureArea (val btnInfo: String, val btnUrl:String, val btnIcon: Drawable)

data class CMBCDataMiddleBannerArea (val bannerInfo:String, val bannerUrl: String, val bannerIcon: Drawable, val pvParameter: PVParameter)

// 埋点信息
data class PVParameter (
    val picUrl: String,
    val picIcon: String,
    val url: String,
    val urlType:Int,
    val menuId:String,
    val areaCode: Int,
    val areaNo: Int,
    val mark: String
)


data class CMBCDataFinanceArea (val saveNum: Int)